package cn.wolfcode.edu.service;

import cn.wolfcode.edu.domain.Role;
import cn.wolfcode.edu.query.QueryObject;
import cn.wolfcode.edu.util.PageResult;

import java.util.List;

/**
 * Created by abb on 2018-07-09.
 */

public interface IRoleService {
    void deleteByPrimaryKey(Long id);

    void insert(Role entity);

    Role selectByPrimaryKey(Long id);

    List<Role> selectAll();

    void updateByPrimaryKey(Role entity);

    PageResult query(QueryObject qo);
    List<Role> listAll();
    List<Long> listIdsByEmployeeId(Long id);
}
